$(document).ready(function(){
    /*alert(window.localStorage.getItem('userUrl'));*/
	$("#partName").html(window.localStorage.getItem("groupNames"));

   $("#messageCount").html(window.localStorage.getItem("messageCount"));
   $("#userUrl").src=window.localStorage.getItem('userUrl');
   $("#userName").html(window.localStorage.getItem("userName"));
   $("#userSex").val(window.localStorage.getItem("userSex"));
   $("#userNative").html(window.localStorage.getItem("userNative"));
   $("#groupJob").html(window.localStorage.getItem("groupJob"));
   
});
/*获取我的公司列表信息*/
function getMemberCompanyList() {
	var Post = "mid="+basedata.mid+"&groupid="+basedata.groupid+"&token="+basedata.token+"&did="+commondata.myinfo+
	"&pagesize=10";
	$.ajax({
		url:'../。。/api/group/getmembercompanylist',
		type:'post',
		data:Post,
		success:function(msg){
			if(msg.code==100){
				alert(1);
			}
		}
	});
}
/*获取我的团体列表*/
function getMemberGroupList() {
	var Post = "&mid="+basedata.mid+"&groupid="+basedata.groupid+"&token="+basedata.token+"&did="+commondata.commonaddrbook+
	"&pagesize=10";
	$.ajax({
		url:'../../api/account/getmygroupinfolist',
		type:'post',
		data:Post,
		success:function(msg){
			if(msg.code==100){
				
			}
		}
	});
}
function getUrlParam(name) {
	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
	var r = window.location.search.substr(1).match(reg);
	if (r != null) return unescape(r[2]); return null;
}






